/*******************************************************************************
* Project: QSAR(Cute Software Architecture) 
*
* Copyright: Copyright(C) 2024 by YuetingBen, All Rights Reserved
*
* File name: DcmDspSvc27.h
*
* Brief: ;
*
* Author: Yueting.Ben
*
* Module: Dcm
*
* Revision:
* ------------------------------------------------------------------------------
* v0.1: 
* --Yueting.Ben, 2024-03-22 
* --Initial release

********************************************************************************/

#ifndef DCMDSPSVC27_H
#define DCMDSPSVC27_H

/** HEADER FILES **/
#include "DcmDspSvc27Cfg.h"


/** MACRO DEFINITION **/
/* The following index refer to Dcm_MsgContextType reqData and resData, start after service identifier(which is not part
of this data) */
#define DCM_REQ_ACCESS_TYPE_INDEX    0u
#define DCM_REQ_DATA_RECORD_START_INDEX 1u

#define DCM_RES_SEED_START_INDEX 1u

#define DCM_PROGRESS_REQ_SEED    ((Dcm_ProgressType)0x10u)
#define DCM_PROGRESS_COMPARE_KEY    ((Dcm_ProgressType)0x11u)


/** TYPEDEF DEFINITION **/


/** LOCAL DATA DECLARATION **/


/** LOCAL FUNCTION DECLARATION **/
extern Std_ReturnType DcmDsp_SecurityCheck(
    DcmDspSecurityType* secLevelPrt
);

extern Std_ReturnType DcmDsp_Svc27_01_Processor(
    Dcm_ExtendedOpStatusType OpStatus,
    Dcm_MsgContextType* pMsgContext,
    Dcm_NegativeResponseCodeType* ErrorCode
);

extern Std_ReturnType DcmDsp_Svc27_02_Processor(
    Dcm_ExtendedOpStatusType OpStatus,
    Dcm_MsgContextType* pMsgContext,
    Dcm_NegativeResponseCodeType* ErrorCode
);

extern Std_ReturnType DcmDsp_Svc27_03_Processor(
    Dcm_ExtendedOpStatusType OpStatus,
    Dcm_MsgContextType* pMsgContext,
    Dcm_NegativeResponseCodeType* ErrorCode
);

extern Std_ReturnType DcmDsp_Svc27_04_Processor(
    Dcm_ExtendedOpStatusType OpStatus,
    Dcm_MsgContextType* pMsgContext,
    Dcm_NegativeResponseCodeType* ErrorCode
);

extern Std_ReturnType DcmDsp_Svc27_Processor(
    Dcm_ExtendedOpStatusType OpStatus,
    Dcm_MsgContextType* pMsgContext,
    Dcm_NegativeResponseCodeType* ErrorCode
);

#endif

